- Working in different contexts: RStudio Projects
- Dynamic document generation: RMarkdown
- Version control: Git + GitHub
- Environment management: renv
- Containerization: Docker
- Where should I start?
- Start collaborating
13/01/2021
here-package (Müller, 2020) to define relative paths within the project: read.csv(here::here("data", "file_I_want.csv"))knitr (Xie, 2015, 2020) and tinytex (Xie, 2015, 2020; for pdfs)install.packages("rmarkdown")install.packages("rmarkdown")install.packages("rmarkdown")
knitr-package (Xie, 2014, 2015, 2020) to customize chunks and knitting process
{r cache=TRUE,message=FALSE,warning=FALSE,results="hide", error = TRUE}opts_chunk$set()-functionTinyTeX (Xie, 2010) is a light-weight, cross-platform distribution (install.packages("tinytex"); tinytex::install_tinytex()))install.packages() to install packages thererenv.lock fileinstall.packages(renv)renv::init()install.packages("pkgname")renv::snapshot()renv::restore()You can skip step #2 if you select “Use renv with this project” during project creation.